package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallGrouponRules;
import com.project.mall.bean.generator.CskaoyanmallGrouponRulesExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallGrouponRulesMapper {
    long countByExample(CskaoyanmallGrouponRulesExample example);

    int deleteByExample(CskaoyanmallGrouponRulesExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallGrouponRules record);

    int insertSelective(CskaoyanmallGrouponRules record);

    List<CskaoyanmallGrouponRules> selectByExample(CskaoyanmallGrouponRulesExample example);

    CskaoyanmallGrouponRules selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallGrouponRules record, @Param("example") CskaoyanmallGrouponRulesExample example);

    int updateByExample(@Param("record") CskaoyanmallGrouponRules record, @Param("example") CskaoyanmallGrouponRulesExample example);

    int updateByPrimaryKeySelective(CskaoyanmallGrouponRules record);

    int updateByPrimaryKey(CskaoyanmallGrouponRules record);
}